package com.ssm.mssm.dao;

import com.ssm.common.AbstractDao;
import com.ssm.mssm.entity.InformationEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by asus on 2017/7/14.
 */
public interface InformationDao extends AbstractDao<InformationEntity> {
    List<InformationEntity> selectAllInformation() throws Exception;
    @Transactional
    List<InformationEntity> selectLike(@Param("key") String string) throws Exception;
    @Transactional
    List<InformationEntity> selectlimit(@Param("page")int page,@Param("number")int number) throws Exception;
}
